package pojo;

public class Person {
    String name;
    long ID;
    int age;
    char sex;
    String address;
    String tel;

    public Person(String name, long ID, int age, char sex, String address, String tel) {
        this.name = name;
        this.ID = ID;
        this.age = age;
        this.sex = sex;
        this.address = address;
        this.tel = tel;
    }

    public Person() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getID() {
        return ID;
    }

    public void setID(long ID) {
        this.ID = ID;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", ID=" + ID +
                ", age=" + age +
                ", sex=" + sex +
                ", address='" + address + '\'' +
                ", tel='" + tel + '\'' +
                '}';
    }

}
